<?php
$idhumu = '295661770636065'; // FBID (ID postingan)
$komenhumu = 'Up CP : 0896-3439-8259'; // You know what it this
$access_token = file_get_contents('token.txt');

/*
Akses token bisa langsung gini
$access_token = 'CAAAAKLSe4lIBAAYpBo1eVyMaFlJO2UDP8ZAzBy9yRV9xjiLGztBw4iZCE2zZBty1O1GTbKhUkggSgJXJsAnwrUldwFUy2yJMtyZAT3jhmo4HDr654FO0lZAfmeUtCPnUp1ZAaqTxzrZAJuZAa9JTZCbhK64yt7uZAr2np0WUcDDMMaab73FZBdfnEKoYUp5rKnvK8pnIhtywW5eTUGxVcHpEqAt';

Tinggal ente cron job'in aja, atau kalo mau dipanggil manual juga terserah ente.
*/
##################
### END OF PETTING
### EH SETTING :'V
##################

auto('https://graph.beta.facebook.com/'.$idhumu.'/comments?method=post&message='.urlencode($komenhumu).'&access_token='.$access_token);

function auto($humu){
$eek = curl_init();
curl_setopt($eek, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($eek, CURLOPT_URL, $humu);
$metu = curl_exec($eek);
curl_close($eek);
return $metu;
}
?>